﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace MyFstCore
{
    public class Student
    {
        [Required]
        [StringLength(50)]
        public string Id { get; set; }

        [StringLength(100)]
        public string Name { get; set; }

        [StringLength(4)]
        public string Sex { get; set; }

        [StringLength(8)]
        public string BrithDay { get; set; }

        [StringLength(50)]
        public string Email { get; set; }

        public string LastName { get; set; }
    }
}
